import {Injectable, NgZone} from '@angular/core';
import {HttpClient} from '@angular/common/http';

@Injectable({
  providedIn: 'root'
})
export class EurekaService {

  apiBase = "http://localhost:10006";

  constructor(private http: HttpClient, private ngZone: NgZone) { }

  test1(){
    const url = this.apiBase + "/consumer/test/c2";
    return this.http.get(url);
  }

  test2(){
    const url = this.apiBase + "/consumer/test/c2";
    return this.http.get(url);
  }


}
